package com.ruoyi.web.utils.tecentCos;//package com.ruoyi.web.utils.tecentCos;
//
//
//import com.example.shop_model.utils.HttpResponse;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import javax.servlet.http.HttpServletRequest;
//
//@RestController
//@RequestMapping("/common")
//@Api(tags = "公共类", position = 1)
//public class CommonController {
//
//    @Autowired
//    public CommonService commonService;
//
//    @ApiOperation(value = "上传图片")
//    @PostMapping(value = "/uploadImage")
//    public HttpResponse uploadImage(HttpServletRequest request, String newFileName) throws Exception {
//        return commonService.uploadImage(request, newFileName);
//    }
//}
